<include file="Public/min-header"/>
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
				<a href="javascript:;" class="btn btn-default" data-url="#" onclick="get_help(this)"><i class="fa fa-question-circle"></i> 帮助</a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i> 操作视频</h3>
                </div>
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="handleposition" action="{:U('Admin/Live/videoHandle')}">
                        <!--通用信息-->
                    <div class="tab-content col-md-10">
                        <div class="tab-pane active" id="tab_tongyong"> 
                          	<div class="callout callout-inro">

						        <p>1.浏览视频号需小程序与视频号的主体相同</p>
						        <p>2. 支持jpg、jpeg、png格式上传，建议图片750*360、大小1.00M以内的图片。</p>
								<p onclick="layer.tips('<img src={$feedIdHelpPng}>',this,{tips: [1, '#fff'],time: 3000});" >3.点击查看帮助</p>

				            </div>
                        </div> 
                            <table class="table table-bordered">
                                <tbody>
                                <tr>
                                    <td class="col-sm-2">视频名称：</td>
                                    <td class="col-sm-4">
                                        <input type="text" class="form-control" name="name" value="{$info.name}"/>
                                        <span id="err_attr_name" style="color:#F00; display:none;"></span>
                                    </td>
                                    <td class="col-sm-4">必填</td>
                                </tr>
                                <tr>
                                    <td class="col-sm-2">视频ID：</td>
                                    <td class="col-sm-4">
                                        <input type="text" class="form-control" name="feedid" value="{$info.feedid}"/>
                                        <span id="err_feedid" style="color:#F00; display:none;"></span>
                                    </td>
                                    <td class="col-sm-4">
                                        <span >视频ID唯一标识某一条视频，获取视频的 视频ID 需要登录视频号助手，在「动态管理」模块可以复制自己发表的每个视频对应的视频ID。</span><br/>
                                        <a onmouseover="layer.tips('<img src={$feedIdPng}>',this,{tips: [1, '#fff'],time: 10000});" onmouseout="layer.closeAll();" href="https://channels.weixin.qq.com/" target="_blank" style="color: #ff9800;">点击获取视频ID</a><br/>
                                    </td>
                                </tr>
                                <tr>
                                    <td >封面图片：</td>
                                    <td>
                      					<div class="col-sm-4">
                      						<input type="text" class="form-control" style="width:350px;margin-left:-15px;" name="share_img" id="share_img" value="{$info.share_img}" >
                      					</div>
                      					<div class="col-sm-5" style="text-align: end">
                                        	<input type="button" class="btn btn-default" onClick="GetUploadify(1,'share_img','video','')"  value="上传图片"/>
                                        </div>
                                    </td>
                                    <td class="col-sm-4"></td>
                                </tr>
                                <tr>
                                    <td>排序：</td>
                                    <td>
                                        <input type="text" class="input-sm" name="sort" value="{$info.sort|default='50'}"  placeholder="50">
                                    </td>
                                    <td class="col-sm-4"></td>
                                </tr>                                
                                </tbody> 
                                <tfoot>
                                	<tr>
                                	<td><input type="hidden" name="act" value="{$act}">
                                        <input type="hidden" name="id" value="{$info.id}">
                                	</td>
                                	<td class="text-right"><input class="btn btn-primary" type="button" onclick="submit()" value="保存"></td>
                                        <td class="col-sm-4"></td>
                                    </tr>
                                </tfoot>                               
                            </table>
                        </div>                           
                    </div>
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
function submit(){
	$('#handleposition').submit();
}


</script>
 </body>
 </html>